package com.zc.study.designPattern.行为型设计模式.IteratorPattern;

import java.util.List;

/**
 * 商品数据类:具体聚合类
 */
public class ProductList extends  AbstractObjectList{
    public ProductList(List<Object> objects) {
        super(objects);
    }

    @Override
    public AbstarctIterator createIterator() {
        return new ProductIterator(this);
    }
}
